package com.SH.service;

import com.SH.pojo.Shopping;

import java.util.List;

public interface ShoppingService {

    public List<Shopping> getAll();

    public List<Shopping> getByUid(Integer uid);

    public Integer addCar(Integer uid,Integer gid);

    public Boolean deleteGood(Integer id);

    public Shopping getById(Integer id);

    public Boolean buyGoods(Integer id);

    public List<Shopping> getBought(Integer uid);

    public List<Shopping> getByUIdAndGid(Integer uid,Integer gid);

}
